package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 跟进表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_followup")
public class CustomerFollowup implements Serializable {
    @TableId(value = "followup_no", type = IdType.INPUT)
    private Integer followupNo;

    /**
     * 跟进类容
     */
    @TableField(value = "followup_content")
    private String followupContent;

    /**
     * 下次跟进时间
     */
    @TableField(value = "next_time")
    private Date nextTime;

    /**
     * 跟进方式 0默认 1打电话 2发邮件 3发短信 4见面拜访 5活动
     */
    @TableField(value = "followup_method")
    private Integer followupMethod;

    /**
     * 拜访计划id
     */
    @TableField(value = "visit_plan_id")
    private Integer visitPlanId;

    /**
     * 跟进项
     */
    @TableField(value = "followup_option_id")
    private Integer followupOptionId;

    /**
     * 跟进类型 1线索 2客户 3联系人 4商机 5报价单 6合同 7回款 8发票 9回访 10产品 11工单 12进销存
     */
    @TableField(value = "followup_type")
    private String followupType;

    /**
     * 创建人id
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}